[][src]Crate xi_unicode

Unicode utilities useful for text editing, including a line breaking iterator.

Structs

LineBreakIterator

An iterator which produces line breaks according to the UAX 14 line breaking algorithm. For each break, return a tuple consisting of the offset within the source string and a bool indicating whether it's a hard break.

LineBreakLeafIter

A class (TODO, not right word) useful for computing line breaks in a rope or other non-contiguous string representation. This is a trickier problem than iterating in a string for a few reasons, the trickiest of which is that in the general case, line breaks require an indeterminate amount of look-behind.

Traits

EmojiExt

Functions

is_keycap_base
is_variation_selector
linebreak_property
linebreak_property_str